package com.cmf.myproject.service.teamLeave.dto;

import java.util.Date;

import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class TeamLeaveAddItemReqDto {
	/**
	 * (team_leave)
	 */
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 * 开始时间(team_leave)
	 */
	@ApiModelProperty(value = "开始时间")
	private Date startTime;
	/**
	 * 截止时间(team_leave)
	 */
	@ApiModelProperty(value = "截止时间")
	private Date endTime;
	/**
	 * 请假人(team_leave)
	 */
	@ApiModelProperty(value = "请假人")
	@Size(min = 0,max = 50,message ="userName字段超过限长（50）")
	private String userName;
	
	private String reason;
	/**
	 * (team_leave)
	 */
	@ApiModelProperty(value = "")
	private com.cmf.myproject.dal.mybatis.enums.TeamLeaveLeaveTypeEnum leaveType;
	/**
	 * (team_leave)
	 */
	@ApiModelProperty(value = "")
	private Date createTime;
	/**
	 * (team_leave)
	 */
	@ApiModelProperty(value = "")
	private Date updateTime;
}